package com.team12.hotel404.service;

import com.team12.hotel404.domain.Power;
import org.springframework.stereotype.Service;

import java.util.List;
public interface PowerService {
    List<Power> listAllPower();

    void updatePowerInfo(Power power);

    void insertPower(Power power);

    void deletePower(Integer id);

    Power findById(Integer id);

    int deletePowerById(Integer id);

    List<Power> findPowerByRoleId(Integer id);
}
